package cn.deschen.search.index.adPlan;

import cn.deschen.search.index.IndexObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @Author hanbin_chen
 * @Description 推广计划数据，与索引关联
 * @DateTime 2021/6/5
 * @Version V1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AdPlanObject extends IndexObject<AdPlanObject> {

    @ApiModelProperty(value = "推荐计划主键id")
    private Long id;

    @ApiModelProperty(value = "标记当前记录所属用户")
    private Long userId;

    @ApiModelProperty(value = "推广计划名称")
    private String planName;

    @ApiModelProperty(value = "推广计划状态（normal-正常 stop-停用）")
    private String planStatus;

    @ApiModelProperty(value = "推广计划开始时间；")
    private LocalDateTime startDate;

    @ApiModelProperty(value = "推广计划结束时间；")
    private LocalDateTime endDate;

}
